//
//  GuanZhuStarTitleView.m
//  WULIHH
//
//  Created by tang on 16/4/12.
//  Copyright © 2016年 tang. All rights reserved.
//

#import "GuanZhuStarTitleView.h"
#import "Header.h"

@implementation GuanZhuStarTitleView


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setBackgroundColor:[UIColor whiteColor]];
        [self initUI];
    }
    return self;
}



- (void)initUI
{
    UIView *titleView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, WithView, 20.0)];
    [self addSubview:titleView];
    [titleView setBackgroundColor:uicolor(254, 206, 0)];
    
    UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(0, self.bounds.size.height-0.5f, WithView, 0.5f)];
    [self addSubview:lineView];
    [lineView setBackgroundColor:uicolor(204, 204, 204)];
    
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
